package com.koocloud.electroplatemanage.mapper;
import com.koocloud.electroplatemanage.pojo.PersonVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
/**
 * @program: electroplatemanage
 * @description: 人员Mapper接口
 * @author: zww
 * @create: 2020-09-29 15:55
 */
@Mapper
public interface PersonMapper {
    //通过pk查询一条记录
    PersonVo selectByPk(String pkPerson);
    //查询所有记录
    List<PersonVo> selectAllData(PersonVo personVo);
    //插入一条记录
    int insert(PersonVo personVo);
    //批量插入记录
    int batchInsert(List<PersonVo> listPersonVo);
    //逻辑删除一条记录
    int delete(String pkPerson);
    //通过pks批量逻辑删除记录
    int batchDeleteByPks(List listPks);
    //修改一条记录
    int update(PersonVo personVo);
}
